
<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<link rel="stylesheet" type="text/css" href="../../../Themes/default/easyui.css">
		<link rel="stylesheet" type="text/css" href="../../../Themes/icon.css">
		<link rel="stylesheet" type="text/css" href="../../../CSS/demo.css">
		<link rel="stylesheet" type="text/css" href="../../../CSS/common.css">
		<link rel="stylesheet" type="text/css" href="../../../CSS/print.css">
	</head>

	<body>
		<div class="div_print_info_portait">
			<h1 align="center">绵阳市高水农副产品批发有限公司</h1>
			<h1 align="center">库房租户信息</h1>
			<form id="ff" method="post" style="width:95%;">
				<table class="altrowstable printtable" style="text-align: left;">
					<tr>
						<td width="15%">租户姓名</td>
						<td width="35%">
							<input type="text" class="print_text_style" name="TENANT_NAME" />
						</td>
						<td width="15%">性别</td>
						<td width="35%">
							<input type="text" class="print_text_style" name="GENDER" id="input_GENDER" />
						</td>
					</tr>
					<tr>
						<td>身份证号码</td>
						<td>
							<input type="text" class="print_text_style" name="IDCARD" />
						</td>
						<td>账户结余</td>
						<td>
							<input name="ACCOUNT" style="border: none;" type="text" />
						</td>

					</tr>
					<tr>
						<td>现住址</td>
						<td>
							<input type="text" class="print_text_style" name="ADDR" />
						</td>
						<td>联系方式</td>
						<td>
							<input type="text" class="print_text_style" name="CONTACT_TEL" />
						</td>
					</tr>
					
				</table>
				<table class="altrowstable printtable" style="text-align: left;margin-top: 0px;">
					<tr>
						<td width="15%">备注</td>
						<td><input class="print_text_style" NAME="MEM0" type="text" style="width:100%;height: 50px;" /></td>
					</tr>
				</table>
			</form>
		</div>
	</body>

	<script type="text/javascript" src="../../../JS/common.js"></script>
	<script type="text/javascript" src="../../../JS/jquery.min.js"></script>
	<script type="text/javascript" src="../../../JS/jquery.easyui.min.js"></script>
	<script type="text/javascript">
		var id = getID(); /*得到当前界面的id*/
		$(document).ready(function(){
	    	loadRemote();
		});

		function loadRemote() {
			var _url = RemoteLinkAddress + '/frozen/tenant/findbyid.do?ID=' + id;
			$.ajax({
				type: "get",
				url: _url,
				dataType: "json",
				success: function(result) {
					$('#ff').form('load', result);
					if($('#input_GENDER').val() == "0") {
						$('#input_GENDER').val("男");
					}else{
						$('#input_GENDER').val("女");
					}
				},
				error: function(xhr, status, error) {
					$.messager.alert("错误", "请求失败!");
				}
			});
		}
	</script>

</html>